// 引入Vue和Vuex
import Vue from "vue"
import Vuex from "vuex"

//引入category模块
import category from "./modules/category"
import user from "./modules/userTempId"

//使用Vuex
Vue.use(Vuex)

//初始化并暴露仓库
export default new Vuex.Store({
    modules: {
        category,
        user
    }
})